package com.hue.gulimail.gulimailproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hue.common.utils.PageUtils;
import com.hue.gulimail.gulimailproduct.entity.SkuInfoEntity;
import com.hue.gulimail.gulimailproduct.vo.SkuItemVo;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * sku信息
 *
 * @author yaofengqiao
 * @email 451737523@qq.com
 * @date 2021-08-12 16:24:48
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils querySkuInfoPage(Map<String, Object> params);

    List<SkuInfoEntity> getSkuInfoListBySpuId(Long spuId);

    SkuItemVo getSkuItemVo(Long skuId) throws ExecutionException, InterruptedException;
}

